- ds
- The dataset to set information into.
- OnBeforeAdd
- The delegate to call before adding the element to the dataset.
- instances
- The instances that have the correct attributes.
Visual Basic (Declaration) | |
---|---|
<ExtensionAttribute()> Overloads Public Shared Sub Set( _ ByVal ds As DicomDataSet, _ ByVal OnBeforeAdd As BeforeAddTagDelegate, _ ByVal ParamArray instances() As Object _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim ds As DicomDataSet Dim OnBeforeAdd As BeforeAddTagDelegate Dim instances() As Object DicomExtensions.Set(ds, OnBeforeAdd, instances) |
C# | |
---|---|
[ExtensionAttribute()] public static void Set( DicomDataSet ds, BeforeAddTagDelegate OnBeforeAdd, params object[] instances ) |
C++/CLI | |
---|---|
[ExtensionAttribute()] public: static void Set( DicomDataSet^ ds, BeforeAddTagDelegate^ OnBeforeAdd, ... array<Object^>^ instances ) |
Parameters
- ds
- The dataset to set information into.
- OnBeforeAdd
- The delegate to call before adding the element to the dataset.
- instances
- The instances that have the correct attributes.
The delegate can return false to disable adding the element to the dataset.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7